package com.wolf.gulimall.product.dao;

import com.wolf.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author wolfmoon
 * @email wolfmoon@gmail.com
 * @date 2022-11-15 16:09:03
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     *根据属性ID和属性分组ID 删除关联关系
     * @param attrgroupRelationEntities 属性ID和属性分组ID集合
     */
    void deleteBatchRelation(@Param("attrgroupRelationEntities") List<AttrAttrgroupRelationEntity> attrgroupRelationEntities);
}
